function TeaDashboardAssistant(message) {
    this.message = message;
}

TeaDashboardAssistant.prototype.setup = function() {
    $('info').update(this.message);
    
    this.count = 0;
}

TeaDashboardAssistant.prototype.activate = function(event) {
    var that = this;
	this.interval = window.setInterval(function () {
		that.updateTimer();
		
	}, 1000);
}

TeaDashboardAssistant.prototype.updateTimer = function(){
    this.count += 1;
    $('info').update('Count' + this.count);
}

TeaDashboardAssistant.prototype.deactivate = function(event) {
}

TeaDashboardAssistant.prototype.cleanup = function(event) {

}
